package com.ctshk.rpc.localfun.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Description
 * @Author wansi <gaylen15527491065@yeah.net>
 * @Date 2021/3/25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="LocalFunProductChannelOfflineSelfCustomDTO对象", description="门票线下自营自定义权限")
public class LocalFunProductChannelOfflineSelfCustomDTO implements Serializable {


    @ApiModelProperty(value = "自營渠道表ID")
    private Long ruleId;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "勾选人/部门类型 1部门  2 员工")
    private Integer checkType;

    @ApiModelProperty(value = "关联id")
    private Long relationId;

    @ApiModelProperty(value = "加幅类型")
    private Integer adjustType;

    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "百分比")
    private Double percent;

    @ApiModelProperty(value = "是否设置限购")
    private Integer isLimit;

    @ApiModelProperty(value = "限购数量")
    private Integer limitNum;
}
